import CrudService from '../global/CrudService'

let instance = null

// 后端路径
const prefix = '/log_statistical_analysis'

class Service extends CrudService {
  constructor() {
    super(prefix)
    return instance || this
  }

  static getInstance() {
    if (!instance) {
      instance = new Service()
    }
    return instance
  }

  getUnLoginData = async (query = {}) => {
    return this.get(`${prefix}xxxxxx1`, query)
  }
  getMoreIpData = async (query = {}) => {
    return this.get(`${prefix}xxxxxxx`, query)
  }
  getUpdateManyData = async (query = {}) => {
    return this.get(`${prefix}xxxxxxx`, query)
  }
  getTaskManyOperationData = (query = {}) => {
    return this.get(`${prefix}xxxxxxx`, query)
  }
}

export default Service.getInstance()
